.xy-ED-nonameEditor {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    height: 100%;
}

.xy-ED-nonameEditor input,
.xy-ED-nonameEditor textarea {
    resize: none;
    padding: 0;
    border: none;
}

.xy-ED-nonameEditor ul {
    list-style: none;
}

.xy-ED-nonameEditor * {
    position: relative;
}

.xy-ED-nonameEditor>* {
    position: relative;
    z-index: 100;
}

/* 最小化控制按键 */
.xy-ED-minimizeControl {
    position: absolute;
    box-sizing: border-box;
    border-radius: 50%;
    box-shadow: 1px 1px 1px #fff, inset 1px 1px 1px #00000094;
    background-color: rgb(149, 149, 149);
    border: 5px whitesmoke solid;
    font-size: 24px;
    height: 50px;
    width: 50px;
    transition: 0.1s;
    opacity: 0.5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.xy-ED-minimizeControl:hover {
    opacity: 1;
    cursor: pointer;
}

/* 操作界面控制 */
.xy-ED-operationPage {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* 操作界面头部 */
.xy-ED-operationPage>header {
    height: 20px;
    width: 100%;
    background-color: rgb(185, 185, 185);
    box-shadow: inset 1px 1px 3px #fff, inset 0px 0px 3px #000000a6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.xy-ED-operationPage>header .xy-ED-header-right,
.xy-ED-operationPage>header .xy-ED-header-left {
    width: 100px;
    font-size: 20px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 10px;
}

.xy-ED-operationPage>header [class^="xy-ED-control"] {
    opacity: 0.8;
    transition: 0.1s;
    height: 20px;
    width: 20px;
    background-size: cover;
    box-sizing: border-box;
}

.xy-ED-operationPage>header .xy-ED-control-minize {
    background-image: url(../image/icon/minimize.png);
}

.xy-ED-operationPage>header .xy-ED-control-close {
    background-image: url(../image/icon/close.png);
}

.xy-ED-operationPage>header [class^="xy-ED-control"]:hover {
    background-color: rgba(126, 107, 107, 0.5);
    border: whitesmoke 1px solid;
}

/* 操作区域 */
.xy-ED-viewArea {
    --xy-ED-WidthRatio: 0.333;
    display: flex;
    flex: 1;
}

.xy-ED-viewArea>.xy-ED-mainArea {
    flex: 1;
    background-color: rgb(220, 220, 220);
    box-shadow: inset -1px -1px 3px #000000a8;
    min-width: 200px;
}

.xy-ED-viewArea>.xy-ED-sideBar {
    flex: var(--xy-ED-WidthRatio);
    background-color: rgb(137, 137, 137);
    display: flex;
    box-shadow: inset 0 1px 1px #2b2b2b36;
}

.xy-ED-mainArea {
    display: grid;
    gap: 10px;
}

/* 侧边栏控制 */
.xy-ED-sideBar-content {
    flex: 1;
    min-width: 180px;
}

.xy-ED-sideBar-content>* {
    display: none;
    width: 100%;
    height: 100%;
    flex-direction: column;
}

.xy-ED-sideBar-content .xy-ED-input-container {
    display: flex;
    border: 1px solid white;
    background-color: rgb(194 194 194);
    height: calc(var(--xy-ED-input-fontSize) + 6px);
}

.xy-ED-sideBar-content .xy-ED-input-container+hr {
    width: 100%;
}

.xy-ED-sideBar-content .xy-ED-input-container>input {
    background-color: transparent;
    font-size: var(--xy-ED-input-fontSize);
    height: inherit;
    width: calc(100% - var(--xy-ED-input-fontSize) - var(--xy-ED-input-fontSize));
}

.xy-ED-sideBar-content .xy-ED-input-container>input:focus {
    background-color: transparent;
    outline: none;
}

.xy-ED-sideBar-content .xy-ED-input-container>.xy-ED-input-clear {
    height: var(--xy-ED-input-fontSize);
    width: var(--xy-ED-input-fontSize);
    background-image: url(../image/icon/close.png);
    background-size: cover;
    cursor: pointer;
    opacity: 0;
}

.xy-ED-sideBar-content .xy-ED-input-container>.xy-ED-input-search {
    height: calc(var(--xy-ED-input-fontSize) + 4px);
    width: calc(var(--xy-ED-input-fontSize) + 4px);
    background-image: url(../image/icon/search.png);
    background-size: cover;
    cursor: pointer;
    border-radius: 50%;
    border-left: 1px solid white;
}

.xy-ED-sideBar-content .xy-ED-input-container>[class^=xy-ED-input-]:hover {
    opacity: 1;
}

/* 武将卡片 */
/* 无历史记录时显示效果 */
.xy-ED-nocharacterCard:not(+.xy-ED-character-show>ul:not(:empty)) {
    display: none;
}

.xy-ED-nocharacterCard {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    justify-content: center;
    font-size: 24px;
    text-shadow: 1px 1px #000, 2px 2px #000;
}

.xy-ED-nocharacterCard>button {
    padding: 0;
    border-radius: 10px;
    width: 80%;
    height: 48px;
    display: block;
    margin-top: 10px;
    box-shadow:
        inset 0px 0px 5px #00000050,
        1px 1px 5px #00000094;
}

.xy-ED-nocharacterCard>button:hover {
    cursor: pointer;
    box-shadow:
        0px 0px 5px #fff,
        1px 1px 5px #00000094;
}

/* 搜索控制 */
.xy-ED-sideBar-content>.xy-ED-sideBar-search .xy-ED-input-container {
    width: 80%;
    border-radius: 5px;
    margin: 10px;
    --xy-ED-input-fontSize: 16px;
    display: flex;
    align-items: center;
}

/* 控制搜索结果 */
.xy-ED-sideBar-search .xy-ED-searchResult {
    flex: 1;
    padding: 3px 0;
    padding: 0px 3px;
}

.xy-ED-sideBar-search .xy-ED-searchResult>header {
    font-size: 16px;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.xy-ED-sideBar-search .xy-ED-searchResult>header>[class^="xy-ED-expandable"]::before {
    width: 16px;
    height: 16px;
}

.xy-ED-sideBar-search .xy-ED-searchResult>ul {
    overflow: auto;
    margin: 0;
    padding: 0;
    height: 100%;
    border-radius: 20px;
    box-sizing: border-box;
}

/* 导航栏控制 */
.xy-ED-viewArea>.xy-ED-sideBar>nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(93, 93, 93);
    width: 80px;
    box-shadow: inset 1px 0px 1px #ffffffad;
}

.xy-ED-viewArea>.xy-ED-sideBar>nav>.xy-ED-nav-chosen {
    background-color: rgb(148, 148, 148);
    border-radius: 86% 14% 100% 0% / 42% 35% 65% 58%;
    box-shadow: 1px 1px 1px #ffffffad, inset 1px 1px 1px 1px #00000050;
}

.xy-ED-operationPage>.xy-ED-viewArea>.xy-ED-sideBar>nav>.xy-ED-nav-chosen::before {
    opacity: 1;
}

.xy-ED-viewArea>.xy-ED-sideBar>nav>[class^="xy-ED-nav"] {
    height: 80px;
    width: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.xy-ED-viewArea>.xy-ED-sideBar>nav>[class^="xy-ED-nav"]:hover::before {
    opacity: 1;
}

.xy-ED-viewArea>.xy-ED-sideBar>nav>[class^="xy-ED-nav"]::before {
    content: "";
    height: 50px;
    width: 50px;
    cursor: pointer;
    opacity: 0.6;
}

.xy-ED-viewArea>.xy-ED-sideBar>nav>.xy-ED-nav-setting::before {
    background-image: url(../image/icon/setting.png);
    background-size: cover;
}

.xy-ED-viewArea>.xy-ED-sideBar>nav>.xy-ED-nav-character::before {
    background-image: url(../image/icon/character.png);
    background-size: cover;
}

.xy-ED-viewArea>.xy-ED-sideBar>nav>.xy-ED-nav-card::before {
    background-image: url(../image/icon/card.png);
    background-size: cover;
}

.xy-ED-viewArea>.xy-ED-sideBar>nav>.xy-ED-nav-search::before {
    background-image: url(../image/icon/search.png);
    background-size: cover;
}

/* 拖拽调整大小设置 */
.xy-ED-viewArea>.xy-ED-sideBar>hr {
    margin: 0;
    background-color: red;
    width: 3px;
    border: 0;
    position: absolute;
    height: 100%;
    opacity: 0;
    transition: 0.1s;
    left: -3px;
}

.xy-ED-viewArea>.xy-ED-sideBar>hr:hover {
    box-shadow: 1px 1px 4px 1px whitesmoke;
    opacity: 1;
    cursor: e-resize;
}

.xy-ED-viewArea>.xy-ED-sideBar>hr:active {
    box-shadow: 1px 1px 4px 1px whitesmoke;
    opacity: 1;
    cursor: e-resize;
}